package csel.controller;

import junit.framework.TestCase;

import org.junit.After;
import org.junit.Before;

import csel.controller.dispatchers.AbstractDispatcher;
import csel.controller.dispatchers.ModelDispatcher;
import csel.model.GameCommand;
import csel.model.Model;

public class TestAbstractDispatchers extends TestCase
{
	// THIS IS A DUMMY OBJECT!!!
	Model m = new ModelDummy();
	AbstractDispatcher ad = new ModelDispatcher(m);
	
	private class CommandDummy implements GameCommand
	{
			public void execute()
			{
				System.out.println("I'm a mother fucking dummy command hellz yeah!");
			}
			public String toString()
			{
				return "Hola!";
			}
	}
	
	// run the test
    public static void main( String args[] ) {
    	junit.textui.TestRunner.run(TestAbstractDispatchers.class);
    }
    
    
    
    @Before
	protected void setup() throws Exception {
		super.setUp();
	}
    
    @After
	protected void tearDown() throws Exception {
		super.tearDown();
	}

}
